package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value="借阅订单返回")
public class SelectBorrowOrderOutDto {
    private Long id;
    @ApiModelProperty(value ="图书id",dataType = "Long")
    private Long bookId;
    @ApiModelProperty(value ="图书名称",example = "冰与火之歌",dataType = "String",required = true)
    private String bookName;
    @ApiModelProperty(value ="作者",example = "乔治·雷蒙德·理查德·马丁",dataType = "String")
    private String author;
    @ApiModelProperty(value ="剩余数量（自动计算，不用输入）",example = "10",dataType = "Integer")
    private Integer remainingNumber;
    @ApiModelProperty(value ="借阅订单状态，字典borrowStatus",dataType = "String")
    private String borrowStatus;
    @ApiModelProperty(value ="借阅时间",dataType = "Date")
    private Date borrowTime;
    @ApiModelProperty(value ="借阅天数",dataType = "Long")
    private Long borrowDays;
    @ApiModelProperty(value ="预计归还时间",dataType = "Date")
    private Date expectReturnTime;
    @ApiModelProperty(value ="实际归还时间",dataType = "Date")
    private Date actualReturnTime;
    @ApiModelProperty(value ="支付订单id",dataType = "Date")
    private Long orderId;
    @ApiModelProperty(value ="是否有破损",dataType = "String")
    private String isBroken;
    @ApiModelProperty(value ="借阅订单创建时间",dataType = "Date")
    private Date createTime;
    @ApiModelProperty(value ="收藏时间",dataType = "Date")
    private Date collectTime;
    @ApiModelProperty(value ="封面",dataType = "String")
    private String coverUrl;
    @ApiModelProperty(value ="价格",example = "120",dataType = "BigDecimal")
    private BigDecimal price;
    @ApiModelProperty(value ="书位",dataType = "Integer")
    private Integer places;


    public Integer getPlaces() {
        return places;
    }

    public void setPlaces(Integer places) {
        this.places = places;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getBorrowStatus() {
        return borrowStatus;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrowStatus = borrowStatus;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Long getBorrowDays() {
        return borrowDays;
    }

    public void setBorrowDays(Long borrowDays) {
        this.borrowDays = borrowDays;
    }

    public Date getExpectReturnTime() {
        return expectReturnTime;
    }

    public void setExpectReturnTime(Date expectReturnTime) {
        this.expectReturnTime = expectReturnTime;
    }

    public Date getActualReturnTime() {
        return actualReturnTime;
    }

    public void setActualReturnTime(Date actualReturnTime) {
        this.actualReturnTime = actualReturnTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getIsBroken() {
        return isBroken;
    }

    public void setIsBroken(String isBroken) {
        this.isBroken = isBroken;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getRemainingNumber() {
        return remainingNumber;
    }

    public void setRemainingNumber(Integer remainingNumber) {
        this.remainingNumber = remainingNumber;
    }
}
